/* 头部信息 */
.el-header {
  height: 60px;
  width: 100%;
}

/* 侧边栏 */
.el-aside {
  background-color: white;
  color: #333;
  text-align: center;
  line-height: 200px;
  width: 200px;
}

/* 主体内容 */
.el-main {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
  color: #333;
  font-size: 20px;
  padding: 20px;
}

/* 选项卡样式 */
.el-tabs__header {
  margin-bottom: 15px;
}

/* 搜索区域 */
.search {
  background-color: white;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search>* {
  margin-right: 10px;
}

.search>*:last-child {
  margin-right: 0;
}

.relative {
  border-radius: 8px;
  border: 1px solid #dcdfe6;
  height: 32px;
  flex: 1;
  padding: 0 12px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.relative:focus {
  outline: none;
  border-color: #409eff;
}

.button {
  border-radius: 4px;
  background-color: #409eff;
  border: none;
  color: white;
  height: 32px;
  padding: 0 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.button:hover {
  background-color: #66b1ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* 审核表格样式 */
.audit-table {
 border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 340px;
  margin-bottom: 15px;
  overflow-y: auto;
  padding: 0 20px;
  border-collapse: collapse;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* 隐藏 Chrome、Safari 等浏览器的滚动条 */
.audit-table::-webkit-scrollbar {
  display: none;
}

/* 状态徽章 */
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: white;
}

.status-pending {
  background-color: #e6a23c; /* 待审核 - 黄色 */
}

.status-changing {
  background-color: #67c23a; /* 待变更 - 绿色 */
}

/* 审核详情弹窗 */
.audit-detail-container {
  top: 10px;
  padding: 20px;
  background-color: #fff; 
  border-radius: 8px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加阴影 */
}

.detail-content {
  margin-bottom: 10px;
}

.detail-content h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.detail-row {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.detail-row .label {
  width: 100px;
  font-weight: 500;
  color: #606266;
}

.detail-row p {
  margin: 0;
  line-height: 1.5;
}

.audit-comment {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px; /* 添加顶部间距 */
}

.change-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.compare-header {
  display: flex;
  font-weight: bold;
  background-color: #f5f7fa;
  border-bottom: 1px solid #ebeef5;
  padding: 10px 0;
}

.compare-row {
  display: flex;
  border-bottom: 1px solid #ebeef5;
  padding: 10px 0;
}

.compare-label {
  flex: 1;
  padding: 5px 10px;
  font-weight: 500;
  color: #606266;
}

.compare-old {
  flex: 2;
  padding: 5px 10px;
  background-color: #fef0f0;
  border-radius: 4px;
  margin-right: 10px;
}

.compare-new {
  flex: 2;
  padding: 5px 10px;
  background-color: #f0f9eb;
  border-radius: 4px;
}

.el-pagination {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}